package com.ks.member.service;

import com.ks.core.base.OperationContext;
import com.ks.member.entity.MemberBase;
import com.ks.member.entity.MemberThirdAuthor;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 * 第三方系统授权绑定信息 服务类
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-24
 */
public interface IMemberThirdAuthorService extends IService<MemberThirdAuthor> {

    Map<String,Object> addMemberThirdAuthor(String openId, String unionId,Integer tenantId,String mobile);

    /**
     * 生成authToken
     *
     * @param memberBase
     * @return
     */
    String getAuthToken(MemberBase memberBase);
}
